﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
	x:Class="AphroditePiano.PianoKey"
	d:DesignWidth="17" d:DesignHeight="92">

	<Grid x:Name="LayoutRoot">        <vsm:VisualStateManager.VisualStateGroups>
            <vsm:VisualStateGroup x:Name="CommonStates">
                <vsm:VisualStateGroup.Transitions>
                    <vsm:VisualTransition GeneratedDuration="00:00:00.3000000"/>
                </vsm:VisualStateGroup.Transitions>
                <vsm:VisualState x:Name="Normal"/>
                <vsm:VisualState x:Name="Down">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6"/>
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>
                </vsm:VisualState>
            </vsm:VisualStateGroup>
        </vsm:VisualStateManager.VisualStateGroups>
		<Image Height="92" HorizontalAlignment="Left" VerticalAlignment="Top" Width="17" Source="../Resources/PianoKeyDown.png" Stretch="Fill" x:Name="rectangle" Opacity="0"/>
		<Button HorizontalAlignment="Left" VerticalAlignment="Top" Content="Button" Style="{StaticResource PianoStyle}" Width="17" x:Name="BtnK"/>
		<Image Height="92" HorizontalAlignment="Left" VerticalAlignment="Top" Width="17" Source="../Resources/PianoKeyDown.png" Stretch="Fill" Visibility="Collapsed"/>
	</Grid>
</UserControl>